package jnpf.model.ragFlow.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("API响应")
public class RagFlowApiResult<T> {
    @ApiModelProperty(value = "响应码", notes = "0表示成功")
    private Integer code;

    @ApiModelProperty(value = "响应数据")
    private T data;

    @ApiModelProperty(value = "错误消息")
    private String message;
}
